﻿using EYangFramework.Domain.Entitys.Entrys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFrame.DataAccess.Global
{
    public class GlobalInfo
    {
        public static User CurrentUser { get; set; }
        public static dynamic TempTool { get; set; }
        public static bool IsLogin { get; set; } = false;//初始值设置为false,此标识是为了防止并未退出但在重新登录时提示用户已经登录过的问题
        public static bool IsClosed { get; set; } = false;//用于标识是否需要退出程序
    }
}
